	<include file="Base/header" /> 
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap-fileupload.css" />		
<div class="page-container">
	<include file="Base/menu" /> 
	<div class="page-content">
		<div class="container-fluid">
			<div class="row-fluid">
					<div class="span12"> 
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title">
						</h3>
						<ul class="breadcrumb">
							<li>
								<i class="icon-home"></i>
								<a href="/index.php/Admin/">首页</a> 
								<i class="icon-angle-right"></i>
							</li>
							<li><a href="/index.php/Admin/Company">其他管理</a></li>
						</ul>
						<!-- END PAGE TITLE & BREADCRUMB-->
					</div>
			</div>
			<div class="row-fluid">
				<div class="span12">
					<div class="portlet box blue tabbable">
						<div class="portlet-title">
							<div class="caption">
								<i class="icon-reorder"></i>
									<span class="hidden-480">幻灯片修改</span>
							</div>
						</div>
					<div class="portlet-body form">
						<form  method="post" class="form-horizontal" action="__URL__/do_updata" enctype="multipart/form-data">
							<div class="control-group"></div>
							<div class="control-group">
								<label class="control-label"></label>
								<div class="controls">
									<input name="id" type="hidden" value="{$data.id}">
									<span class="help-inline"></span>
								</div>
							</div>
							<div class="control-group">&nbsp;&nbsp;
                                <div class="controls">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <label class="radio">
                                        <input type="radio" name="status0" value="1" <if condition="$data.status0 eq 1"  >  checked='' <else /> </if> style="">
                                        显示
                                    </label>&nbsp;&nbsp;
                                    <label class="radio">
                                        <input type="radio" name="status0" value="2" <if condition="$data.status0 eq 2"  >  checked='' <else /> </if> style="">
                                        隐藏
                                    </label>
                                </div>
                            </div>
							<div class="control-group">
								<label class="control-label">图片一链接：</label>
								<div class="controls">
									<input name="url0" type="text" placeholder="" class="m-wrap medium" value="{$data.url0}">
									<span class="help-inline">幻灯片链接</span>
								</div>
							</div>
							<div class="control-group">
									<div class="control-group">

										<label class="control-label">图片一：</label>

										<div class="controls">

											<div class="fileupload fileupload-new" data-provides="fileupload">

												<div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">

													<img src="{$data.image0}" alt="" />

												</div>

												<div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
												<span class="help-inline">640*320px png,大小不超过200KB</span>

												<div>
													<span class="btn btn-file"><span class="fileupload-new">选择图片</span>

													<span class="fileupload-exists">选择</span>

													<input name="image0" type="file" class="default" /></span>

													<a href="#" class="btn fileupload-exists" data-dismiss="fileupload">重选</a>

												</div>

											</div>


										</div>

									</div>
							</div>
							<div class="control-group">&nbsp;&nbsp;
                                <div class="controls">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <label class="radio">
                                        <input type="radio" name="status1" value="1" <if condition="$data.status1 eq 1"  >  checked='' <else /> </if> style="">
                                        显示
                                    </label>&nbsp;&nbsp;
                                    <label class="radio">
                                        <input type="radio" name="status1" value="2" <if condition="$data.status1 eq 2"  >  checked='' <else /> </if> style="">
                                        隐藏
                                    </label>
                                </div>
                            </div>
							<div class="control-group">
								<label class="control-label">图片二链接：</label>
								<div class="controls">
									<input name="url1" type="text" placeholder="" class="m-wrap medium" value="{$data.url1}">
									<span class="help-inline">幻灯片链接</span>
								</div>
							</div>
							<div class="control-group">
									<div class="control-group">

										<label class="control-label">图片二：</label>

										<div class="controls">

											<div class="fileupload fileupload-new" data-provides="fileupload">

												<div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">

													<img src="{$data.image1}" alt="" />

												</div>

												<div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
												<span class="help-inline">640*320px png,大小不超过200KB</span>

												<div>
													<span class="btn btn-file"><span class="fileupload-new">选择图片</span>

													<span class="fileupload-exists">选择</span>

													<input name="image1" type="file" class="default" /></span>

													<a href="#" class="btn fileupload-exists" data-dismiss="fileupload">重选</a>

												</div>

											</div>


										</div>

									</div>
							</div>

							<div class="control-group">&nbsp;&nbsp;
                                <div class="controls">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <label class="radio">
                                        <input type="radio" name="status2" value="1" <if condition="$data.status2 eq 1"  >  checked='' <else /> </if> style="">
                                        显示
                                    </label>&nbsp;&nbsp;
                                    <label class="radio">
                                        <input type="radio" name="status2" value="2" <if condition="$data.status2 eq 2"  >  checked='' <else /> </if> style="">
                                        隐藏
                                    </label>
                                </div>
                            </div>
							<div class="control-group">
								<label class="control-label">图片三链接：</label>
								<div class="controls">
									<input name="url2" type="text" placeholder="" class="m-wrap medium" value="{$data.url2}">
									<span class="help-inline">幻灯片链接</span>
								</div>
							</div>
							<div class="control-group">
									<div class="control-group">

										<label class="control-label">图片三：</label>

										<div class="controls">

											<div class="fileupload fileupload-new" data-provides="fileupload">

												<div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">

													<img src="{$data.image2}" alt="" />

												</div>

												<div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
												<span class="help-inline">640*320px png,大小不超过200KB</span>

												<div>
													<span class="btn btn-file"><span class="fileupload-new">选择图片</span>

													<span class="fileupload-exists">选择</span>

													<input name="image2" type="file" class="default" /></span>

													<a href="#" class="btn fileupload-exists" data-dismiss="fileupload">重选</a>

												</div>

											</div>

										</div>

									</div>
							</div>
							<div class="form-actions">
								<button type="submit" class="btn blue"><i class="icon-ok"></i>保存</button>
								<!-- <button type="button" class="btn">删除</button> -->
							</div>
						</form>
					</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap-fileupload.js"></script>
<include file="Base/footer" />
